package com.mrduan.calculator.db;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by snoopy on 2018/4/7.
 */

@Entity
public class DBSellCalendarBean {

    @Property(nameInDb = "USERID")
    private long userId;
    @Property (nameInDb = "TIME")
    private long time;
    @Property (nameInDb = "OPERATOR")// 加 减
    private String operator;//操作符
    @Property (nameInDb = "NUMBER")
    private String number;
    @Property (nameInDb = "TYPE")
    private String type;
    @Property (nameInDb = "WAY")
    private String way;
    @Generated(hash = 82939057)
    public DBSellCalendarBean(long userId, long time, String operator,
            String number, String type, String way) {
        this.userId = userId;
        this.time = time;
        this.operator = operator;
        this.number = number;
        this.type = type;
        this.way = way;
    }
    @Generated(hash = 461311359)
    public DBSellCalendarBean() {
    }
    public long getUserId() {
        return this.userId;
    }
    public void setUserId(long userId) {
        this.userId = userId;
    }
    public long getTime() {
        return this.time;
    }
    public void setTime(long time) {
        this.time = time;
    }
    public String getOperator() {
        return this.operator;
    }
    public void setOperator(String operator) {
        this.operator = operator;
    }
    public String getNumber() {
        return this.number;
    }
    public void setNumber(String number) {
        this.number = number;
    }
    public String getType() {
        return this.type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getWay() {
        return this.way;
    }
    public void setWay(String way) {
        this.way = way;
    }

}
